package org.cloud.im.server.util;

import cn.hutool.core.util.ClassUtil;
import org.cloud.im.core.http.UploadFile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Author: w.weidong.lin@abite.com
 * @Description:
 * @Date: create in 2021/10/19 14:39
 */
public class ClassUtils {
	private static Logger log = LoggerFactory.getLogger(ClassUtils.class);

	/**
	 *
	 * @author: WChao
	 */
	public ClassUtils() {
	}

	public static boolean isSimpleTypeOrArray(Class<?> clazz){
		return ClassUtil.isSimpleTypeOrArray(clazz) || clazz.isAssignableFrom(UploadFile.class);
	}



	/**
	 * @param args
	 * @author: WChao
	 */
	public static void main(String[] args) {
		log.info("");
	}
}
